# name : pandas sample
# key : sample@pandas
# key : df_sample
# contributor: Shuguang Sun
# --
${1:df}.sample(${2:$$(yas-choose-value '("10" "frac = 0.5"))}${3:, replace = True}, ${3:random_state = 2})